package work20241207_chap8.n_demo11;

/**
 * @author zdl
 * @date 2024/12/5
 */
public class A {
    public void test(Shape[] shapes){
        for (int i = 0; i < shapes.length; i++) {
            System.out.println(shapes[i].area());
            System.out.println(shapes[i].girth());
        }

    }
}
